<extend name="Public/common" />
<block name="body">
    <div class="wrapper wrapper-content animated fadeInRight">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>增加会员名额</h5>
                    </div>
                    <div class="ibox-content">
                        <div class="form-horizontal">
                            <div class="form-group">
                                <label class="col-sm-2 control-label">会员姓名</label>

                                <div class="col-sm-10">
                                    <input type="text" class="form-control" name="name" value="{$member.user}" placeholder="请填写会员姓名" id="name">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">会员ID</label>

                                <div class="col-sm-10">
                                    <input type="text" class="form-control" name="userid" value="{$member.userid}" placeholder="请填写会员ID" id="userid">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>


                            <!--                        <div class="form-group">
                                                        <label class="col-sm-2 control-label">照片</label>

                                                        <div class="col-sm-10">
                                                            <input type="text" class="form-control" name="picture " placeholder="请填写个人简介" id="picture">
                                                        </div>
                                                    </div>
                                                    <div class="hr-line-dashed"></div>-->



                            <div class="form-group" style="display:none;">
                                <label class="col-sm-2 control-label">身份证有效期</label>

                                <div class="col-sm-10">
                                    <input type="text" class="form-control layer-date" name="card_start" value="{$member.card_start}" placeholder="身份证开始时间" id="start">
                                    <input type="text" class="form-control layer-date" name="card_end" value="{$member.card_end}" placeholder="身份证到期时间" id="end">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">联系电话</label>

                                <div class="col-sm-10">
                                    <input type="text" class="form-control" name="phone" value="{$member.phone}" placeholder="请填写联系电话" id="phone">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>

                            <div class="form-group">
                                <label class="col-sm-2 control-label">增加名额</label>

                                <div class="col-sm-10">
                                    <input type="text" class="form-control" name="num" value="" placeholder="请填写增加的名额" id="num">
                                </div>
                            </div>
                            <div class="hr-line-dashed"></div>

                            <div class="form-group">
                                <div class="col-sm-4 col-sm-offset-2">
                                    <button class="btn btn-primary" id="save">保存内容</button>
                                    <button class="btn btn-white" type="button" onclick="history.go(-1);">取消</button>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script>
        //定义全局变量
        var GV = {
            member_editmember : "{:U('Num/edit')}",
            member_id : "{$member.id}"
        };
    </script>
    <script src="__JS__/http/num/edit.js"></script>
</block>